/*!// ==========================================================================
// BigWe: bigwe_apis.js
// =========================================================================
// Copyright 2015-2016 eBeryl, Inc.
// @author sherlockl
// @Date 2016年6月30日
// @describe 所有异步请求的接口地址 请按页面为单位存放地址 并大致描述接口用途 请求方式post/get
// 命名方式前缀请注明动作取数据为GET 删除数据为DEL 添加数据为ADD 修改数据为EDIT
// ======================================================================== */
/* eslint-disable no-undef */
define( {
  // 登录 - interFace
  LOGIN: '/login_verify',
  // 获取平台，绑定账户 - interFace
  THIRD_PARTY: {
    PLATFORM_ACOUNT: '/sending/get_account',
    SINA_ACOUNT_LIST: '/sina/user_sina_list',
    TOUTIAO_ACOUNT_LIST: '/toutiao/account_list',
  },
  // 账号设置 - interFace
  MY_ACCOUNT: {
    RegisterPage: '/RegisterPage/check_mail',
    GET_FOLLOWERS: '/user_analyzing/get_followers',
    GET_USER_INFO: '/my_account/get_user_info',
    CREATE_INVITATION: '/my_account/create_invitation',
    SAVEINDUSTRY: '/my_account/saveIndustry',
    SEND_MAIL: '/RegisterPage/send_mail',
    USER_UPDATE: '/my_account/user_update',
    GET_WATERMARK: '/single_water_mark/get_watermark',
    SAVE_WATERMARK_TYPE: '/upload/watermark/save_watermark_type',
    GET_NEWS_MATERIAL_UNSYNC: '/Interact/Wechat/SyncMaterial/get_news_material_unsync',
    GET_IMG_MATERIAL_UNSYNC: '/my_account/get_img_material_unsync',
    REVOKE_OAUTH2: '/sina/revoke_oauth2',
    UPDATE_USER_INFO: '/sina/update_user_info',
  },
  COMMON: {
    /*
     * 我的素材文章列表数据
     */
    GET_MEDIA: '/my_assets/mg_ls',
    /*
     * 获取素材公共接口
     * @type get
     * @param done 消息类型
     * @param page_num 页码
     */
    GET_MATERIAL_MPNEWS: '/sending/get_art_list',
    /*
     * 获取我的图片素材公共接口
     * @type post
     * @param done 消息类型
     * @param page_num 页码
     */
    GET_MATERIAL_IMAGES: '/sending/get_image_list',
    GET_IMG_LIST: '/assets/get_img_list',
    /*
     * 获取数据库样式的接口
     * @type post
     * @param p 页码
     * @param l 每页条数
     * @param class 筛选class名
     */
    GET_STYLE: '/style/get_style',
    // 图文同步到微信 - infterface
    MPNEWS_ASYNSIMSEND: '/Interact/Wechat/AsynSimSend/send_material_to_wechat',
    MPNEWS_ASYNSEND: '/Interact/Wechat/AsynSend/send_material_to_wechat',
    // 图片同步到微信 - infterface
    IMAGES_ASYNSIMSEND: '/Interact/Wechat/AsynSimSend/send_images_to_wechat',
    IMAGES_ASYNSEND: '/Interact/Wechat/AsynSend/send_images_to_wechat',
  },
  COMBINER: {
    GET_ART_LS: '/combiner/get_art_ls',
    DEL_ART: '/combiner/del',
    MERGE: '/combiner/merge',
    ADD: '/combiner/add'
  },
  // 我的文章
  MYRESOURCE: {
    GET_ART_LS: '/my_assets/get_art_ls'
  },
  // 我的图片
  MY_PICTURE: {
    DELETE_IMG: '/my_picture/delete_img',
    GET_GROUP: '/my_picture/get_group',
    ADD_IMG_GROUP: '/my_picture/add_img_group',
    DEL_IMG_GROUP: '/my_picture/del_img_group',
    MY_IMG: '/my_picture/my_img',
    CHANGE_GROUP: '/my_picture/change_group',
    DO_PUBLISH_IMG: '/SaveSource/do_publish_img',
  },
  // 我的图文
  MYMPNEWS: {
    /*
     * 获取我的文章分组列表
     * @type POST
     */
    GET_GRAPH_GROUPS: '/MyMpnews/mpnews_customs_list',
    /*
     * 添加我的文章分组列表
     * @type POST
     */
    ADD_GROUP: '/MyMpnews/add_mpnews_custom',
    /*
     * 编辑我的文章分组列表
     * @type POST
     */
    EDIT_GROUP: '/MyMpnews/edit_mpnews_customs',
    /*
     * 删除我的文章分组列表
     * @type POST
     */
    DEL_GROUP: '/MyMpnews/delete_mpnews_customs',
    GET_FULL_MSG: '/MyMpnews/my_mpnews_list',
    MOVE_MPNEWS_CUSTOMS: '/MyMpnews/move_mpnews_customs',
    GET_ASYN_LIST: '/MyMpnews/get_asyn_list',
    CPMPNEWS: '/MyMpnews/cpmpnews',
    DELETE_MPNEWS: '/MyMpnews/delete_mpnews',
  },
  // 文章浏览页面
  ARTICEL_PREVIEW: {
    /**
     * 获取文章转载信息
     * @param cd 文章ID
     */
    GET_ARTICLE_ISREPRINT: '/EditText/getArticleExt',
    LIKE_ART: '/article/like_art',
    GET_REC_LS: '/article/get_rec_ls',
    ADD_LOG_SHARE: '/free_article/add_log_share',
  },
  // 我的收藏
  MYCOLLECTION: {
    ADD_GROUP: '/my_assets/add_ucg',
    DEL_GROUP: '/my_assets/del_cg',
    EDIT_GROUP: '/my_assets/up_cgn',
    IMG_ADD_GROUP: '/favorites/add_group',
    IMG_DELETE_GROUP: '/favorites/delete_group',
    COLLECT_ART_LS: '/favorites/get_ls',
    COLLECT_IMG_LS: '/favorites/collect_list',
    CG: '/my_assets/cg',
    FAVORITES_DEL: '/favorites/del',
    GET_GROUP: '/favorites/get_group',
    CHANGE_GROUP: '/favorites/change_group',
    DEL_RES_CG: '/my_assets/del_res_cg',
    DEL: '/my_assets/del',
  },
  // 我的消息
  MYMESSAGE: {
    MESSAGE: '/my_message/message',
  },
  CUSTOM_MENU: {
    GET_MENU: '/custom_menu/get_menu',
    SAVE_MENU: '/custom_menu/save_menu',
    SYNCH_MENU: '/custom_menu/synch_menu',
    DEL_MENU: '/custom_menu/delete_menu'
  },
  AUTO_REPLY: {
    GET_BEADDEDREPLY: '/subscribe_reply/display',
    SAVE_BEADDEDREPLY: '/subscribe_reply/subscribe_reply',
    DEL_BEADDEDREPLY: '/subscribe_reply/del_reply',
    GET_AUTOREPLY: '/message_reply/display',
    SAVE_AUTOREPLY: '/message_reply/message_reply',
    DEL_AUTOREPLY: '/message_reply/del_reply',
    GET_KEYWORDREPLY: '/keyword_reply/display',
    SAVE_KEYWORDREPLY: '/keyword_reply/keyword_reply',
    DEL_KEYWORDREPLY: '/keyword_reply/delete_rule',
    STOP_AUTOREPLY: '/subscribe_reply/stop_reply',
  },
  // 用户分析
  USER_ANALYSIS: {
    /*
     * 获取粉丝属性数据
     * @type post
     * @param appid 用户公众号APPID
     */
    GET_USERINFO: '/user_analysis/get_gzh_info',
    /*
     * 获取用户关注指数数据
     * @type post
     * @param appid 用户公众号APPID
     */
    GET_ARITHMETIC: '/user_analysis/user_analysis_arithmetic',
    /*
     * 获取两时间段的用户关注指数数据
     * @type post
     * @param appid 用户公众号APPID
     * @param begin_date 开始时间
     * @param end_date 结束时间
     */
    GET_HISTORYLIST: '/user_analysis/history_list',

    /*
     * 用户关注指数数据表格下载
     */
    GET_EXCEL: '/user_analysis/analysis_excel',
    /*
     * 获取对比趋势图
     * @type post
     * @param appid 用户公众号APPID
     * @param begin_date 开始时间
     * @param end_date 结束时间
     * @param num_type 人数类型
     * @param source 来源类型
     */
    GET_TREND: '/user_analysis/num_contrast',
  },
  WEIBO_INTERFACE: {
    /*
     * 获取微博即时发送
     * @type post
     * @param content 内容
     * @param uid 微博账户id
     * @param img 图片路径
     * @param visible 可见性  0：所有人能看，1：仅自己可见，2：密友可见，3：指定分组可见，默认为0
     */
    SEND_IMMEDIATE: '/sina/now_send',
    /*
     * 获取微博定时发送
     * @type post
     * @param content 内容
     * @param uid 微博账户id
     * @param img 图片路径
     * @param time 定时发送微博的时间
     * @param visible 可见性  0：所有人能看，1：仅自己可见，2：密友可见，3：指定分组可见，默认为0
     */
    SEND_TIMING: '/sina/time_send',
    //微博定时发送删除
    DELETE_TIMING: '/sina/delete_time_list',
    /*
     * 获取微博定时发送列表
     * @type post
     * @param uid 微博账户id
     * @param time 定时发送微博的时间
     */
    SEND_LIST: '/sina/sina_time_list',
    STATUS_LIST: '/sina/status_list',
    DELETE_STATUS: '/sina/delete_status',
    //获取微博用户分组
    GET_GROUP: '/sina/get_group_id',
    /*
     * 群发私信
     * @type post
     */
    SEND_MESSAGE: '/sina/send_message',
    /*
     * 群发私信定时
     * @type post
     */
    TIME_SEND_MESSAGE: '/sina/time_send_message',
    /*
     * 群发私信定时右侧列表
     * @type post
     */
    LETTER_LIST: '/sina/time_send_message_list',
    /*
     * 定时群发私信列表删除
     * @type post
     */
    LETTER_DELETE: '/sina/time_send_message_delete',
  },
  HOME_PAGE: {
    GET_HOT_TOPIC: '/home_page/get_article',
    GET_IMG: '/home_page/get_img',
    GET_WXGZH: '/home_page/get_wxgzh',
  },
  // 视频预览
  VIDEO_PREVIEW: {
    GET_VIDEO_BY_ID: '/video_preview/get_video_by_id'
  },
  // 模板
  TEMPLATE: {
    CREATE_TEMPLATE: '/template/create_temp',
    SAVE_TEMPLATE: '/template/save_template',
    GET_TEMPLATE: '/template/get_template',
    CREATE_SAVE_TEMPLATE: '/template/create_save_template',
    DELETE_TEMPLATE: '/template/delete_template',
    GET_TEMPLATE_LIST: '/template/template_list',
  },
  GZH_ART_STYLE: {
    GET_DEFAULT: '/gzhArtStyle/get_default',
    SAVE_DEFAULT: '/gzhArtStyle/save_default',
  },
  //搜索结果页
  SEARCH: {
    SEARCH_LIST: '/search/get_search_list',
    GET_IMG_INFO: '/search/get_img_info',
    GET_HOT_ART: '/search/get_hot_art',
    SEARCH_PROFILE: '/search/profile',
    GET_ART_RANK: '/assets/get_art_rank_ls'
  },
  // 编辑图文
  EDIT_TEXT: {
    GET_COMMON_MATERIAL_HTML: '/EditText/get_common_material_html',
    GET_FESTIVAL_MATERIAL_HTML: '/EditText/get_festive_material_html',
    GET_EDIT_CHART: '/edit_text/get_edit_chart',
    GET_ART_INFO: '/article/get_art_info',
    SAVE_ORIGINAL_ARTICLE: '/edit_text/save_original_article',
    SAVE_ART: '/article/save_art',
    GET_CATEGORY: '/edit_text/category',
    CAPTURE_SRC: '/edit_text/capture_src',
    GET_FESTIVAL_IMAGES: '/edit_text/get_festival_img'
  },
  SYSTEM_TEMPLATE: {
    GET_SYSTEM_TEMPLATE: '/system_template/get_system_template',
    GET_TEM_BYID: '/system_template/get_tem_byid',
    GET_TYPESE_TEMPLATE: '/template/get_mould_img',
    GET_TYPESE_TEMPLATE_BY_ID: '/template/get_mould',
    GET_TEMPLATE_TYPESETTING: '/template/template_typesetting'
  },
  /*话题*/
  TOPIC: {
    GET_TOPIC: '/topic/get_topic',
  },
  SIMILAR_WORDS: {
    GET_SIMILAR_WORDS: '/similar_words/get_similar_words',
  },
  /*图片点赞*/
  IMG_BROWSE: {
    DO_LIKE_IMG: '/assets/like_img',
    DO_COLLECT_IMG: '/assets/collect_img',
    /*相似图片*/
    PICTURE_SIMILAR: '/search/get_similar_img',
  },
  /*文章收藏*/
  COLLECT_ART: {
    GET_COLLECT_ART: '/favorites/add',
  },
  /* 预览 */
  SEND_PREVIEW: {
    GET_SEND_PREVIEW: '/common/get_send_preview',
    // 认证号
    PREVIEW_ARTICLE: '/Interact/Wechat/AsynSend/preview_article',
    // 未认证
    PREVIEW_ARTICLE_UNATHOR: '/Interact/Wechat/AsynSimSend/preview_article'
  },
  /* 未登录授权 */
  UNAUTHOR: {
    CHECK_AUTH_ACCOUNT: '/interact/Wechat/sim_account/check_auth_account',
    SIM_LOGIN: '/interact/wechat/sim_login/login',
    GRAB_VERIFY_IMG: '/interact/wechat/sim_login/grab_verify_img?user_login=',
    CHECK_QRCODE_STATUS: '/interact/wechat/sim_login/check_qrcode_status',
    ADD_AUTH_ACCOUNT: '/interact/Wechat/sim_account/add_auth_account',
  },
  FILEUPLOAD: {
    GET_IMG_UPTOKEN: '/upload/image/get_uptoken',
    GET_VIDEO_UPTOKEN: '/upload/video/get_uptoken',
    SAVE_IMAGE: '/save_source/save_image',
    SAVE_VIDEO: '/save_source/save_video',
    GET_VOICE_UPTOKEN: '/upload/voice/get_uptoken',
    SAVE_VOICE: '/save_source/save_voice'
  },
  /* 注册 */
  REGISTER: {
    //绑定账号
    BIND_BIGWE: '/RegisterGuide/bind_bigwe',
    //昵称验证
    NICENAME_VERIFY: '/RegisterPage/nicename_verify',
    //手机号验证
    VERIFY_VALID_CODE: '/RegisterPage/verify_valid_code',
    //邀请码
    INVITATION_VERIFY: '/RegisterPage/invitation_verify',
    //手机号注册
    REGISTER_VERIFY: '/RegisterPage/register_verify',
    //邮箱验证
    EMAIL_VERIFY: '/RegisterPage/email_verify',
    //发邮箱验证码
    SEND_MAIL: '/retrieve_pwd/send_mail',
    //手机验证
    PHONE_VERIFY: '/RegisterPage/phone_verify',
    //发手机验证码
    SEND_MESSAGE: '/RegisterPage/send_message',
  },
  CHOOSEARTICLE: {
    GET_ARTICLE_LISTS: '/edit_text/get_article_lists',
    GET_MATERIAL_LIST: '/edit_text/get_material_list',
    GET_ARTS_LIST: '/assets/get_arts_list'
  },
  SCORE: {
    GET_SCORE_LIST: '/score/score_list',
    GET_SCORE_COUNT: '/score/score_count'
  },
  GATHER: {
    GET_ACCOUNT_LIST: '/account_verify/get_account_list',
    DELETE_ACCOUNT: '/account_verify/delete_account',
    HISTORY_ARTS: '/account_verify/history_arts',
    ADD_ACCOUNT: '/account_verify/add_account',
    ADD_BATCH_ACCOUNT: '/account_verify/add_batch_account',
    GET_ACCOUNT_BYID: '/account_verify/get_account_byid'
  },
  SMART_TAG: {
    RECOMMEND_TAG: '/recommend_tags/recommend_tags_'
  },
  //忘记密码
  FORGET_PASSWORD: {
    ACCOUNTVERIFY: 'RetrievePwd/accountVerify',
    CHECK_MAIL: 'RetrievePwd/check_mail',
    VERIFY_SMS: 'RegisterPage/verify_sms',
    RETRIEVEPWD: 'RetrievePwd/retrievepwd',
    SEND_MAIL: '/RetrievePwd/send_mail',
    SEND_MESSAGE: '/RegisterPage/send_message',
    CAPTCHA: '/RegisterPage/captcha'
  },
  //标题诊断
  TITLE_DIAGNOSE: {
    GET_RESULT: '/title_diagnose/get_result '
  },
  //通知
  NOTICE: {
    GET_LIST: '/system_message/get_list',
    DEL_MESSAGE: '/system_message/del_message',
    READ_MESSAGE: '/system_message/read_message',
    SEND_AGAIN: '/Interact/Wechat/AsynSend/send_again'
  },
  // 群发 - interface
  SENDING: {
    GET_TIMERS: '/Timer/get_timers',
    MATE_TOPIC: '/sending/mate_topic',
    BIGWE_SDK: '/sina/bigwe_sdk',
    GET_IMG_INFO: '/MyPicture/get_img_info',
    GET_NEWS_BYGROUP: '/sending/get_news_bygroup',
    CLOSE_MATE: '/sending/close_mate',
    GET_USER_GROUP: '/sending/get_user_group',
    TIMER_LIST: '/Timer/timer_list',
    TIME_ART_LIST: '/toutiao/time_art_list',
    ASYNSEND_SEND_ARTICLE: '/Interact/Wechat/AsynSend/send_article',
    ASYNSIMSEND_SEND_ARTICLE: '/Interact/Wechat/AsynSimSend/send_article',
    TIME_SEND: '/Timer/time_send',
    EDIT_LOG: '/SendingLog/edit_log',
    TOUTIAO_SEND_ARTICLE: '/toutiao/send_article',
    TOUTIAO_TIME_SEND_ARTICLE: '/toutiao/time_send_article',
    TOUTIAO_SEND_VIDEO: '/toutiao/send_video',
    TOUTIAO_TIME_SEND_VIDEO: '/toutiao/time_send_video',
    WECHAT_ASYNSEND_TEXT: '/interact/wechat/send/send_text',
    WECHAT_SIM_SEND_TEXT: '/interact/wechat/sim_send/send_text',
    WECHAT_ASYNSEND_IMAGE: '/interact/wechat/AsynSend/send_image',
    WECHAT_SIM_SEND_IMAGE: '/interact/wechat/sim_send/send_image',
    WECHAT_ASYNSEND_VIDEO: '/interact/wechat/send/send_video',
    WECHAT_ASYNSEND_VOICE: '/Interact/Wechat/asyn_send/send_voice',
    GET_ART_GROUP: '/SendingLog/get_art_group',
    DELETE_NEWS: '/SendingLog/delete_news',
    TIME_ART_DEL: '/toutiao/time_art_del',
  }
} );